package org.jeecg.modules.zixishi.service;

import org.jeecg.modules.zixishi.entity.Seat;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import java.util.Map;

/**
 * @Description: 座位
 * @Author: jeecg-boot
 * @Date:   2024-05-19
 * @Version: V1.0
 */
public interface ISeatService extends IService<Seat> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<Seat>
	 */
	public List<Seat> selectByMainId(String mainId);

    Map seatPrice(String quyuId,String reserveType,String startTime,String endTime) throws Exception;
}
